A Characterization of lambda Definability in Categorical Models of Implicit Polymorphism

نویسنده

  • Moez Alimohamed
چکیده

Lambda deenability is characterized in categorical models of simply typed lambda calculus with type variables. A category-theoretic framework known as glueing or sconing is used to extend the Jung-Tiuryn characterization of lambda deenability JuT93], rst to ccc models, and then to categorical models of the calculus with type variables. Logical relations are now a well-established tool for studying the semantics of various typed lambda calculi. The main lines of research are focused in two areas, the rst of which strives for an understanding of Strachey's notion of parametric polymorphism. The main idea is that a parametricly polymorphic function acts independently from the types to which its type variables are instantiated, and that this uniformity may be captured by imposing a relational structure on the types OHT93, MSd93, MaR91, Wad89, Rey83, Str67]. The other line of research concerns lambda deenability and the full abstraction problem for various models of languages based on simply typed lambda calculus JuT93, MaR91, MSd93, OHR94, Pit93, Plo80, Lau70]. Early attempts to characterize lambda deenability in the full type hiearchy focused on invari-ance properties of functions that are deenable by lambda terms. Invariance under permutation Lau70] was the most obvious of these since lambda deen-able functions cannot speak about particular elements, but this was not enough for a complete characterization. A later attempt in Plo80] introduced the idea of invariance under a logical relation and then, in the same paper, the notion of invariance under I-relation by which Plotkin succeeded in characterizing lambda deenability in certain full type hierarchies. More recently, Jung and Tiuryn describe a notion of logical relation with which they characterize lambda deenability in all Henkin models of simply typed lambda calculus JuT93], and since then Riecke and O'Hearn have modiied this result to an extension of simply typed lambda calculus having basic arithmetic constructs and general recursion to provide fully abstract models of PCF OHR94]. In this work, a notion of logical relation is presented that characterizes lambda deenability in categorical models of simply typed lambda calculus with type variables. This language, called implicit ML, is a fragment of Core-ML that features a form of polymorphism called implicit polymorphism in HaM88, MSd93].

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A New Characterization of Lambda Definability

We give a new characterization of lambda deenability in Henkin models using logical relations deened over ordered sets with varying arity. The advantage of this over earlier approaches by Plotkin and Statman is its simplicity and universality. Yet, decidability of lambda deenability for hereditarily nite Henkin models remains an open problem. But if the variable set allowed in terms is also res...

متن کامل

On Plotkin-Abadi Logic for Parametric Polymorphism Towards a Categorical Understanding

The idea of parametric polymorphism is that of a single operator that can be used for di erent data types and whose behaviour is somehow uniform for each type. Reynolds [Reynolds, 1983] uses binary relations to de ne a uniformity condition for parametric polymorphism. In [Plotkin & Abadi, 1993] the authors proposed a second order logic for second order lambda-calculus; this logic is able to han...

متن کامل

On Undefined and Meaningless in Lambda Definability

We distinguish between undefined terms as used in lambda definability of partial recursive functions and meaningless terms as used in infinite lambda calculus for the infinitary terms models that generalise the Böhm model. While there are uncountable many known sets of meaningless terms, there are four known sets of undefined terms. Two of these four are sets of meaningless terms. In this paper...

متن کامل

Towards a Categorical Understanding of Plotkin-Abadi Logic for Parametric Polymorphism

The idea of parametric polymorphism is that of a single operator that can be used for di erent data types and whose behaviour is somehow uniform for each type. This concept was rst proposed by Strachey [13]. Reynolds [9] uses binary relations to de ne a uniformity condition for parametric polymorphism. In [1] Plotkin and Abadi proposed a second order logic for second order lambdacalculus; this ...

متن کامل

Relational Parametricity for Control Considered as a Computational Effect

This paper investigates parametric polymorphism in the presence of control operators. Our approach is to specialise a general type theory combining polymorphism and computational effects, by extending it with additional constants expressing control. By defining relationally parametric models of this extended calculus, we capture the interaction between parametricity and control. As a worked exa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Theor. Comput. Sci.

دوره 146  شماره 

صفحات  -

تاریخ انتشار 1995